package org.clockworkmages.games.anno1186.text;

import org.clockworkmages.games.anno1186.model.character.GenderConstants;

public class TextUtil {

	public static String parse(String text) {
		TextNode textNode = new ComplexTextNode(text);
		String result = textNode.getParsedText();
		return result;
	}

	public static String pronoun(int gender) {
		return capitalPronoun(gender).toLowerCase();
	}

	public static String capitalPronoun(int gender) {
		if (gender == GenderConstants.MALE) {
			return "He";
		} else if (gender == GenderConstants.FEMALE) {
			return "She";
		} else {
			return "It";
		}
	}

}
